package hxy.cupb.service;

//import hxy.cupb.entity.UserDetails;

import hxy.cupb.entity.UserEntity;
import hxy.cupb.entity.dto.UserEntityDTO;
//import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserService {

    /**
     * @return 获取所有用户信息
     */
    List<UserEntityDTO> findAll();

    UserEntityDTO findUserEntityDTOById(int id);

    UserEntity loadUserByUserName(String userName);

}